package com.tcm.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 班级实体类
 * @author Guqier
 * @version 1.0
 * @date 2023/7/2 17:22
 */
@Data
@TableName("ts_clazz")
public class Clazz {
    //班级ID
    private Long id;

    //班级名称
    private String name;

    //权限ID
    private Long permissionId;

    //学院ID
    private Long collegeId;

    //专业ID
    private Long majorId;

    //年级ID
    private Long gradeId;

    //学期ID
    private Long termId;

    //状态，0启用，1停用
    @TableField(fill = FieldFill.INSERT)
    private Integer status;
    //创建时间
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    //创建用户ID
    private Long createUser;

    //更新时间
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    //更新用户ID
    private Long updateUser;

    //备注
    private String memo;
}
